<?php
// +----------------------------------------------------------------------
// | CatchAdmin [Just Like ～ ]
// +----------------------------------------------------------------------
// | Copyright (c) 2017~{$year} http://catchadmin.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( https://github.com/yanwenwu/catch-admin/blob/master/LICENSE.txt )
// +----------------------------------------------------------------------
// | Author: JaguarJack [ njphper@gmail.com ]
// +----------------------------------------------------------------------

use think\migration\Seeder;

class PermissionsMenusSeed extends Seeder
{
    /**
     * Run Method.
     *
     * Write your database seeder using this method.
     *
     * More information on writing seeders is available here:
     * http://docs.phinx.org/en/latest/seeding.html
     */
    public function run()
    {
        \catcher\Utils::importTreeData($this->getPermissions(), 'permissions', 'parent_id');
    }

    protected function getPermissions()
    {
       return array (
  0 => 
  array (
    'id' => 1,
    'permission_name' => '权限管理',
    'parent_id' => 0,
    'level' => '',
    'route' => '/permissions',
    'icon' => 'el-icon-cpu',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'permission',
    'component' => 'layout',
    'redirect' => '/permissions/users',
    'keepalive' => 1,
    'type' => 1,
    'hidden' => 1,
    'sort' => 100,
    'created_at' => 1587461455,
    'updated_at' => 1599362429,
    'deleted_at' => 0,
  ),
  1 => 
  array (
    'id' => 2,
    'permission_name' => '用户管理',
    'parent_id' => 1,
    'level' => '1',
    'route' => '/permissions/users',
    'icon' => 'el-icon-user',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'user',
    'component' => 'users',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 1,
    'hidden' => 1,
    'sort' => 10,
    'created_at' => 1587461597,
    'updated_at' => 1612095098,
    'deleted_at' => 0,
  ),
  2 => 
  array (
    'id' => 3,
    'permission_name' => '列表',
    'parent_id' => 2,
    'level' => '1-2',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'user@index',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1587461647,
    'updated_at' => 1612095094,
    'deleted_at' => 0,
  ),
  3 => 
  array (
    'id' => 4,
    'permission_name' => '创建',
    'parent_id' => 2,
    'level' => '1-2',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'user@create',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1587461696,
    'updated_at' => 1612095094,
    'deleted_at' => 0,
  ),
  4 => 
  array (
    'id' => 5,
    'permission_name' => '保存',
    'parent_id' => 2,
    'level' => '1-2',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'user@save',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1587461721,
    'updated_at' => 1612095094,
    'deleted_at' => 0,
  ),
  5 => 
  array (
    'id' => 6,
    'permission_name' => '查看',
    'parent_id' => 2,
    'level' => '1-2',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'user@edit',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1587461742,
    'updated_at' => 1612095094,
    'deleted_at' => 0,
  ),
  6 => 
  array (
    'id' => 7,
    'permission_name' => '更新',
    'parent_id' => 2,
    'level' => '1-2',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'user@update',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1587461762,
    'updated_at' => 1612095094,
    'deleted_at' => 0,
  ),
  7 => 
  array (
    'id' => 8,
    'permission_name' => '删除',
    'parent_id' => 2,
    'level' => '1-2',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'user@delete',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1587461841,
    'updated_at' => 1612095094,
    'deleted_at' => 0,
  ),
  8 => 
  array (
    'id' => 9,
    'permission_name' => '禁用',
    'parent_id' => 2,
    'level' => '1-2',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'user@switchStatus',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1587461876,
    'updated_at' => 1612095094,
    'deleted_at' => 0,
  ),
  9 => 
  array (
    'id' => 10,
    'permission_name' => '恢复',
    'parent_id' => 2,
    'level' => '1-2',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'user@recover',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1587461901,
    'updated_at' => 1612095094,
    'deleted_at' => 0,
  ),
  10 => 
  array (
    'id' => 11,
    'permission_name' => '角色管理',
    'parent_id' => 1,
    'level' => '1',
    'route' => '/permissions/roles',
    'icon' => 'el-icon-s-custom',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'role',
    'component' => 'roles',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 1,
    'hidden' => 1,
    'sort' => 9,
    'created_at' => 1587461939,
    'updated_at' => 1599362438,
    'deleted_at' => 0,
  ),
  11 => 
  array (
    'id' => 12,
    'permission_name' => '列表',
    'parent_id' => 11,
    'level' => '1-11',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'role@index',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1587461984,
    'updated_at' => 1599362438,
    'deleted_at' => 0,
  ),
  12 => 
  array (
    'id' => 13,
    'permission_name' => '创建',
    'parent_id' => 11,
    'level' => '1-11',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'role@create',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1587462007,
    'updated_at' => 1599362438,
    'deleted_at' => 0,
  ),
  13 => 
  array (
    'id' => 14,
    'permission_name' => '保存',
    'parent_id' => 11,
    'level' => '1-11',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'role@save',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1587462021,
    'updated_at' => 1599362438,
    'deleted_at' => 0,
  ),
  14 => 
  array (
    'id' => 15,
    'permission_name' => '查看',
    'parent_id' => 11,
    'level' => '1-11',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'role@edit',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1587462040,
    'updated_at' => 1599362438,
    'deleted_at' => 0,
  ),
  15 => 
  array (
    'id' => 16,
    'permission_name' => '更新',
    'parent_id' => 11,
    'level' => '1-11',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'role@update',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1587462058,
    'updated_at' => 1599362438,
    'deleted_at' => 0,
  ),
  16 => 
  array (
    'id' => 17,
    'permission_name' => '删除',
    'parent_id' => 11,
    'level' => '1-11',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'role@delete',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1587462070,
    'updated_at' => 1599362438,
    'deleted_at' => 0,
  ),
  17 => 
  array (
    'id' => 18,
    'permission_name' => '权限获取',
    'parent_id' => 11,
    'level' => '1-11',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'role@getPermissions',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1587462094,
    'updated_at' => 1599362438,
    'deleted_at' => 0,
  ),
  18 => 
  array (
    'id' => 19,
    'permission_name' => '菜单管理',
    'parent_id' => 1,
    'level' => '1',
    'route' => '/permissions/rules',
    'icon' => 'el-icon-collection-tag',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'permission',
    'component' => 'rules',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 1,
    'hidden' => 1,
    'sort' => 8,
    'created_at' => 1587462147,
    'updated_at' => 1599362475,
    'deleted_at' => 0,
  ),
  19 => 
  array (
    'id' => 20,
    'permission_name' => '列表',
    'parent_id' => 19,
    'level' => '1-19',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'permission@index',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1587462205,
    'updated_at' => 1599362475,
    'deleted_at' => 0,
  ),
  20 => 
  array (
    'id' => 21,
    'permission_name' => '创建',
    'parent_id' => 19,
    'level' => '1-19',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'permission@create',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1587462232,
    'updated_at' => 1599362475,
    'deleted_at' => 0,
  ),
  21 => 
  array (
    'id' => 22,
    'permission_name' => '保存',
    'parent_id' => 19,
    'level' => '1-19',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'permission@save',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1587462250,
    'updated_at' => 1599362475,
    'deleted_at' => 0,
  ),
  22 => 
  array (
    'id' => 23,
    'permission_name' => '禁用/启用',
    'parent_id' => 19,
    'level' => '1-19',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'permission@show',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1587462273,
    'updated_at' => 1599362475,
    'deleted_at' => 0,
  ),
  23 => 
  array (
    'id' => 24,
    'permission_name' => '更新',
    'parent_id' => 19,
    'level' => '1-19',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'permission@update',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1587462284,
    'updated_at' => 1599362475,
    'deleted_at' => 0,
  ),
  24 => 
  array (
    'id' => 25,
    'permission_name' => '删除',
    'parent_id' => 19,
    'level' => '1-19',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'permission@delete',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1587462296,
    'updated_at' => 1599362475,
    'deleted_at' => 0,
  ),
  25 => 
  array (
    'id' => 26,
    'permission_name' => '权限方法',
    'parent_id' => 19,
    'level' => '1-19',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'permission@getMethods',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1599221913,
    'updated_at' => 1599362475,
    'deleted_at' => 0,
  ),
  26 => 
  array (
    'id' => 27,
    'permission_name' => '部门管理',
    'parent_id' => 1,
    'level' => '1',
    'route' => '/permissions/departments',
    'icon' => 'el-icon-monitor',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'departments',
    'component' => 'departments',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 1,
    'hidden' => 1,
    'sort' => 7,
    'created_at' => 1587462488,
    'updated_at' => 1599362429,
    'deleted_at' => 0,
  ),
  27 => 
  array (
    'id' => 28,
    'permission_name' => '列表',
    'parent_id' => 27,
    'level' => '1-27',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'department@index',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1587462529,
    'updated_at' => 1599030565,
    'deleted_at' => 0,
  ),
  28 => 
  array (
    'id' => 29,
    'permission_name' => '保存',
    'parent_id' => 27,
    'level' => '1-27',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'department@save',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1587462548,
    'updated_at' => 1599030565,
    'deleted_at' => 0,
  ),
  29 => 
  array (
    'id' => 30,
    'permission_name' => '更新',
    'parent_id' => 27,
    'level' => '1-27',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'department@update',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1587462579,
    'updated_at' => 1599030565,
    'deleted_at' => 0,
  ),
  30 => 
  array (
    'id' => 31,
    'permission_name' => '删除',
    'parent_id' => 27,
    'level' => '1-27',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'department@delete',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1587462592,
    'updated_at' => 1599030565,
    'deleted_at' => 0,
  ),
  31 => 
  array (
    'id' => 32,
    'permission_name' => '岗位管理',
    'parent_id' => 1,
    'level' => '1',
    'route' => '/permissions/jobs',
    'icon' => 'el-icon-setting',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'job',
    'component' => 'jobs',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 1,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1587462707,
    'updated_at' => 1599362429,
    'deleted_at' => 0,
  ),
  32 => 
  array (
    'id' => 33,
    'permission_name' => '列表',
    'parent_id' => 32,
    'level' => '1-32',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'job@indexs',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 2,
    'sort' => 1,
    'created_at' => 1587462757,
    'updated_at' => 1598959522,
    'deleted_at' => 0,
  ),
  33 => 
  array (
    'id' => 34,
    'permission_name' => '保存',
    'parent_id' => 32,
    'level' => '1-32',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'job@save',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 2,
    'sort' => 1,
    'created_at' => 1587462774,
    'updated_at' => 1598959522,
    'deleted_at' => 0,
  ),
  34 => 
  array (
    'id' => 35,
    'permission_name' => '更新',
    'parent_id' => 32,
    'level' => '1-32',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'job@update',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 2,
    'sort' => 1,
    'created_at' => 1587462785,
    'updated_at' => 1598959522,
    'deleted_at' => 0,
  ),
  35 => 
  array (
    'id' => 36,
    'permission_name' => '删除',
    'parent_id' => 32,
    'level' => '1-32',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'job@delete',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 2,
    'sort' => 1,
    'created_at' => 1587462794,
    'updated_at' => 1598959522,
    'deleted_at' => 0,
  ),
  36 => 
  array (
    'id' => 37,
    'permission_name' => '获取全部',
    'parent_id' => 32,
    'level' => '1-32',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'job@getAll',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 2,
    'sort' => 1,
    'created_at' => 1587462818,
    'updated_at' => 1598959522,
    'deleted_at' => 0,
  ),
  37 => 
  array (
    'id' => 582,
    'permission_name' => '用户组管理',
    'parent_id' => 1,
    'level' => '1',
    'route' => '/permissions/usersGroup/curd',
    'icon' => 'el-icon-user-solid',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'usersGroup',
    'component' => 'permissions_usersGroup',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 1,
    'hidden' => 1,
    'sort' => 0,
    'created_at' => 1645442028,
    'updated_at' => 1645523514,
    'deleted_at' => 0,
  ),
  38 => 
  array (
    'id' => 583,
    'permission_name' => '列表',
    'parent_id' => 582,
    'level' => '1-582',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'usersGroup@index',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1645442029,
    'updated_at' => 1645523515,
    'deleted_at' => 0,
  ),
  39 => 
  array (
    'id' => 584,
    'permission_name' => '保存',
    'parent_id' => 582,
    'level' => '1-582',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'usersGroup@save',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1645442030,
    'updated_at' => 1645523515,
    'deleted_at' => 0,
  ),
  40 => 
  array (
    'id' => 585,
    'permission_name' => '读取',
    'parent_id' => 582,
    'level' => '1-582',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'usersGroup@read',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1645442030,
    'updated_at' => 1645523515,
    'deleted_at' => 0,
  ),
  41 => 
  array (
    'id' => 586,
    'permission_name' => '更新',
    'parent_id' => 582,
    'level' => '1-582',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'usersGroup@update',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1645442031,
    'updated_at' => 1645523515,
    'deleted_at' => 0,
  ),
  42 => 
  array (
    'id' => 587,
    'permission_name' => '删除',
    'parent_id' => 582,
    'level' => '1-582',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'usersGroup@delete',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1645442032,
    'updated_at' => 1645523515,
    'deleted_at' => 0,
  ),
  43 => 
  array (
    'id' => 588,
    'permission_name' => '用户组关联',
    'parent_id' => 1,
    'level' => '1',
    'route' => '/permissions/userHasGroup/curd',
    'icon' => 'el-icon-connection',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'userHasGroup',
    'component' => 'permissions_userHasGroup',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 1,
    'hidden' => 1,
    'sort' => 0,
    'created_at' => 1645503466,
    'updated_at' => 1645630455,
    'deleted_at' => 0,
  ),
  44 => 
  array (
    'id' => 589,
    'permission_name' => '列表',
    'parent_id' => 588,
    'level' => '1-588',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'userHasGroup@index',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1645503467,
    'updated_at' => 1645630455,
    'deleted_at' => 0,
  ),
  45 => 
  array (
    'id' => 590,
    'permission_name' => '保存',
    'parent_id' => 588,
    'level' => '1-588',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'userHasGroup@save',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1645503468,
    'updated_at' => 1645630455,
    'deleted_at' => 0,
  ),
  46 => 
  array (
    'id' => 591,
    'permission_name' => '读取',
    'parent_id' => 588,
    'level' => '1-588',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'userHasGroup@read',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1645503469,
    'updated_at' => 1645630455,
    'deleted_at' => 0,
  ),
  47 => 
  array (
    'id' => 592,
    'permission_name' => '更新',
    'parent_id' => 588,
    'level' => '1-588',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'userHasGroup@update',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1645503469,
    'updated_at' => 1645630455,
    'deleted_at' => 0,
  ),
  48 => 
  array (
    'id' => 593,
    'permission_name' => '删除',
    'parent_id' => 588,
    'level' => '1-588',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'userHasGroup@delete',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1645503470,
    'updated_at' => 1645630455,
    'deleted_at' => 0,
  ),
  49 => 
  array (
    'id' => 594,
    'permission_name' => '角色组关联',
    'parent_id' => 1,
    'level' => '1',
    'route' => '/permissions/roleHasGroup/curd',
    'icon' => 'el-icon-connection',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'roleHasGroup',
    'component' => 'permissions_roleHasGroup',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 1,
    'hidden' => 1,
    'sort' => 0,
    'created_at' => 1645622273,
    'updated_at' => 1645630508,
    'deleted_at' => 0,
  ),
  50 => 
  array (
    'id' => 595,
    'permission_name' => '列表',
    'parent_id' => 594,
    'level' => '1-594',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'roleHasGroup@index',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1645622274,
    'updated_at' => 1645630508,
    'deleted_at' => 0,
  ),
  51 => 
  array (
    'id' => 596,
    'permission_name' => '保存',
    'parent_id' => 594,
    'level' => '1-594',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'roleHasGroup@save',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1645622274,
    'updated_at' => 1645630508,
    'deleted_at' => 0,
  ),
  52 => 
  array (
    'id' => 597,
    'permission_name' => '读取',
    'parent_id' => 594,
    'level' => '1-594',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'roleHasGroup@read',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1645622275,
    'updated_at' => 1645630508,
    'deleted_at' => 0,
  ),
  53 => 
  array (
    'id' => 598,
    'permission_name' => '更新',
    'parent_id' => 594,
    'level' => '1-594',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'roleHasGroup@update',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1645622275,
    'updated_at' => 1645630508,
    'deleted_at' => 0,
  ),
  54 => 
  array (
    'id' => 599,
    'permission_name' => '删除',
    'parent_id' => 594,
    'level' => '1-594',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'roleHasGroup@delete',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1645622276,
    'updated_at' => 1645630508,
    'deleted_at' => 0,
  ),
  55 => 
  array (
    'id' => 600,
    'permission_name' => '小程序用户',
    'parent_id' => 1,
    'level' => '1',
    'route' => '/wechatopenMiniappUsers',
    'icon' => 'el-icon-user',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'wechatopenMiniappUsers',
    'component' => 'permissions_wechatopenMiniappUsers',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 1,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1645680756,
    'updated_at' => 1645680788,
    'deleted_at' => 0,
  ),
  56 => 
  array (
    'id' => 601,
    'permission_name' => '列表',
    'parent_id' => 600,
    'level' => '1-600',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'wechatopenMiniappUsers@index',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1645680852,
    'updated_at' => 1645680853,
    'deleted_at' => 0,
  ),
  57 => 
  array (
    'id' => 602,
    'permission_name' => '创建',
    'parent_id' => 600,
    'level' => '1-600',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'wechatopenMiniappUsers@save',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1645680881,
    'updated_at' => 1645680881,
    'deleted_at' => 0,
  ),
  58 => 
  array (
    'id' => 603,
    'permission_name' => '更新',
    'parent_id' => 600,
    'level' => '1-600',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'wechatopenMiniappUsers@update',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1645680947,
    'updated_at' => 1645680947,
    'deleted_at' => 0,
  ),
  59 => 
  array (
    'id' => 604,
    'permission_name' => '读取',
    'parent_id' => 600,
    'level' => '1-600',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'wechatopenMiniappUsers@read',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1645680985,
    'updated_at' => 1645680985,
    'deleted_at' => 0,
  ),
  60 => 
  array (
    'id' => 605,
    'permission_name' => '删除',
    'parent_id' => 600,
    'level' => '1-600',
    'route' => '',
    'icon' => '',
    'module' => 'permissions',
    'creator_id' => 1,
    'permission_mark' => 'wechatopenMiniappUsers@delete',
    'component' => '',
    'redirect' => '',
    'keepalive' => 1,
    'type' => 2,
    'hidden' => 1,
    'sort' => 1,
    'created_at' => 1645681019,
    'updated_at' => 1645681019,
    'deleted_at' => 0,
  ),
);
    }
}
